package models

import "gorm.io/gorm"

type Blog struct {
	gorm.Model
	Title   string `gorm:"type:varchar(30)" json:"title"`   //标题
	Content string `gorm:"type:varchar(30)" json:"content"` //内容
	Author  string `gorm:"type:varchar(30)" json:"author"`  //作者
}
